@import "reset.css";
@import "public.css";




@color:#74c6b3;

//banner
#banner{
    height: 350px;
    width: 1180px;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    ol{
        width: 7080px;
        height: 350px;
        position: absolute;
        top: 0;
        left: 0;
        
        li{
            float: left;
        }
    }
    ul{
        position: absolute;
        top: 50px;
        right: 20px;
        background: #000;
        opacity: .6;
        height: 250px;
        width: 198px;
        border-radius: 5px;
        padding: 22px 0 0 20px;
        box-sizing: border-box;
        li{
            cursor: pointer;
            line-height: 34px;
            color: #e4e4e4;
            &.active{
                color: #71ffde;
                span{
                    opacity: 1;
                }
            }
            span{
               
                
                opacity: 0;
                
                margin-right: 5px;
            }
        }
    }
}


//同步课程course

#course{
    margin-bottom: 30px;
    &>div{
        
                height: 44px;
            h3{
                float: left;
                height: 20px;
                line-height: 20px;
                font-size: 18px;
                float: left;
                border-left: 6px solid @color;
                padding-left: 5px;
            }
            span{
                float: right;
                color: @color;
                font-size: 12px;
                cursor: pointer;
            
        }
        
    }
    ul{
        height: 490px;
        li{
            cursor: pointer;
            height: 225px;
            width: 280px;
            border-radius: 5px;
            background: #f8f8f8;
            float: left;
            margin:0 20px 20px 0;
            &:nth-child(4),&:nth-child(8){
                margin-right: 0;
            }
            div{
                &:nth-child(1){
                    height: 163px;
                    
                    position: relative;
                    img{
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 280px;
                        height: 163px;
                    }
                    span{
                        &:nth-child(2){
                            position: absolute;
                            background: #000;
                            opacity: .3;
                            height: 33px;
                            width: 72px;
                            left: 0;
                            top: 0;
                            border-bottom-right-radius: 11px;
                            text-align: center;
                            line-height: 33px;
                            color: #f8f2ff;
                            font-size: 12px;
                        }
                        &:nth-child(3){
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            width: 270px;
                            background: #000;
                            opacity: .5;
                            line-height: 33px;
                            color: #f8f2ff;
                            padding-left: 10px;
                        }
                    }
                }
                &:nth-child(2){
                    height: 62px;
                    padding:0 5px 0 10px;
                    p{
                        &:nth-child(1){
                            float: left;
                            span{
                                &:nth-child(1){
                                    display: block;
                                    line-height:36px;
                                    font-size: 14px;
                                     
                                }
                                &:nth-child(2){
                                    color: #888;
                                    font-size: 12px;
                                    line-height: 12px;
                                }
                            }
                        }
                        &:nth-child(2){
                            float: right;
                            height:30px;
                            width: 86px;
                            background: @color;
                            color: #fff;
                            font-size: 16px;
                            line-height: 30px;
                            text-align: center;
                            border-radius: 5px;
                            margin-top: 22px; 
                        }
                    }
                }
            }
        }
    }
}

//wechat

#wechat{
    margin-bottom: 50px;
}

//在线测试test
#test{
    margin-bottom: 30px;
    &>div{
        
                height: 44px;
            h3{
                float: left;
                height: 20px;
                line-height: 20px;
                font-size: 18px;
                float: left;
                border-left: 6px solid @color;
                padding-left: 5px;
            }
            span{
                float: right;
                color: @color;
                font-size: 12px;
                cursor: pointer;
            
        }
        
    }
    ul{
        height: 490px;
        li{
            height: 223px;
            width: 380px;
            border-radius: 5px;
            background: #f8f8f8;
            float: left;
            margin:0 20px 20px 0;
            &:nth-child(3),&:nth-child(6){
                margin-right: 0;
            }
            div{
                &:nth-child(1){
                    height: 163px;
                    
                    position: relative;
                    img{
                        position: absolute;
                        left: 0;
                        top: 0;
                    }
                    &>span{
                        &:nth-child(2){
                            position: absolute;
                            background: #000;
                            opacity: .3;
                            height: 33px;
                            width: 72px;
                            left: 0;
                            top: 0;
                            border-bottom-right-radius: 11px;
                            text-align: center;
                            line-height: 33px;
                            color: #f8f2ff;
                            font-size: 12px;
                        }
                        
                    }
                    p{
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 342px;
                        background: #000;
                        opacity: .3;
                        line-height: 33px;
                        color: #f8f2ff;
                        padding-left: 10px;
                        padding-right: 28px;
                        span{
                            &:nth-child(1){
                                float: left;
                            }
                            &:nth-child(2){
                                float: right;
                            }
                        }
                    }
                }
                &:nth-child(2){
                    height: 62px;
                    padding:0 5px 0 10px;
                    p{
                        &:nth-child(1){
                            float: left;
                            span{
                                    margin-top: 12px;
                                    display: block;
                                    line-height:20px;
                                    font-size: 14px;
                                     
                                
                                
                            }
                        }
                        &:nth-child(2){
                            float: right;
                            height:30px;
                            width: 86px;
                            background: @color;
                            color: #fff;
                            font-size: 16px;
                            line-height: 30px;
                            text-align: center;
                            border-radius: 5px;
                            margin-top: 22px; 
                        }
                    }
                }
            }
        }
    }
}

//精品课程course1
#course1{
    margin-bottom: 30px;
    height: 534px;
    div{
        &.top{
            height: 44px;
            h3{
                float: left;
                height: 20px;
                line-height: 20px;
                font-size: 18px;
                float: left;
                border-left: 6px solid @color;
                padding-left: 5px;
            }
            span{
                float: right;
                color: @color;
                font-size: 12px;
                cursor: pointer;
            
        }
        }
        &.bottom{
            height: 490px;
            ul{
                height: 490px;
                width: 895px;
                float: left;
                li{
                    height: 224px;
                    width: 280px;
                    border-radius: 5px;
                    background: #f8f8f8;
                    float: left;
                    margin:0 20px 20px 0;
                    &:nth-child(3),&:nth-child(6){
                        margin-right: 0;
                    }
                    div{
                        &:nth-child(1){
                            height: 165px;
                            
                            position: relative;
                            img{
                                position: absolute;
                                left: 0;
                                top: 0;
                                width: 280px;
                                height: 163px;
                            }
                            span{
                                &:nth-child(2){
                                    position: absolute;
                                    background: #000;
                                    opacity: .3;
                                    height: 33px;
                                    width: 72px;
                                    left: 0;
                                    top: 0;
                                    border-bottom-right-radius: 11px;
                                    text-align: center;
                                    line-height: 33px;
                                    color: #f8f2ff;
                                    font-size: 12px;
                                }
                                &:nth-child(3){
                                    position: absolute;
                                    bottom: 0;
                                    left: 0;
                                    width: 270px;
                                    background: #000;
                                    opacity: .5;
                                    line-height: 33px;
                                    color: #f8f2ff;
                                    padding-left: 10px;
                                }
                            }
                        }
                        &:nth-child(2){
                            height: 62px;
                            padding:0 5px 0 10px;
                            p{
                                &:nth-child(1){
                                    float: left;
                                    span{
                                        &:nth-child(1){
                                            display: block;
                                            line-height:36px;
                                            font-size: 14px;
                                             
                                        }
                                        &:nth-child(2){
                                            color: #888;
                                            font-size: 12px;
                                            line-height: 12px;
                                        }
                                    }
                                }
                                &:nth-child(2){
                                    float: right;
                                    height:30px;
                                    width: 86px;
                                    background: @color;
                                    color: #fff;
                                    font-size: 16px;
                                    line-height: 30px;
                                    text-align: center;
                                    border-radius: 5px;
                                    margin-top: 22px; 
                                }
                            }
                        }
                    }
                }
            }
            &>img{
                float: right;
                width: 285px;
            }
        }
        
    }
   
}

//脚部图片
#foot{
    height: 100px;
    margin-bottom: 36px;
    
    img{
        float: left;
        margin-right: 20px;
        &.last{
            margin: 0;
        }
    }
}

//返回顶部按钮
#return_top {
    position: fixed;
    bottom: 0;
    right: 15px;
    display: none;
    img{
        margin-bottom: 6px;
        height: 70px;
        width: 70px;
        background: #ffefd6;
        border-radius: 4px;
    }

}




